package com.jnxx.task.domain;

import com.jnxx.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 实体类：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Okrcard extends BaseDomain{

    /**
     * 卡片名称
     */
    private String cardName;
    /**
     * 模块id
     */
    private String moduleId;
    /**
     * 任务id
     */
    private Integer projectId;

    // 任务总数
    private Integer totalTask;

    // 任务完成数
    private Long completeTask;



    private List<Task> taskList = new ArrayList<>();


    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return "Okrcard{" +
        ", cardName=" + cardName +
        ", moduleId=" + moduleId +
        ", projectId=" + projectId +
        "}";
    }
}
